//
//  BCSafeCenterCellModel.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/26.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import "BCSafeCenterCellModel.h"
//
#import "BCSafeCenterPhoneCell.h"
#import "BCSafeCenterEmailCell.h"
#import "BCSafeCenterPayPassCell.h"
#import "BCSafeCenterFingerPrintLoginCell.h"

@implementation BCSafeCenterCellModel

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.cellClass = BCSafeCenterBaseCell.class;
    }
    return self;
}



+ (NSMutableArray *)registerCells {
    NSMutableArray *cells = [NSMutableArray array];
    [cells addObject:NSStringFromClass(BCSafeCenterPhoneCell.class)];
    [cells addObject:NSStringFromClass(BCSafeCenterEmailCell.class)];
    [cells addObject:NSStringFromClass(BCSafeCenterPayPassCell.class)];
    [cells addObject:NSStringFromClass(BCSafeCenterFingerPrintLoginCell.class)];
    return cells;
}



/**
 phone
 */
+ (BCSafeCenterCellModel *)phone {
    BCSafeCenterCellModel *model = [BCSafeCenterCellModel new];
    model.cellClass = BCSafeCenterPhoneCell.class;
    model.cellType = BCSafeCenterCellTypePhone;
//    model.title = BCLocalizedKey(@"safe_center_phone_title");
    return model;
}
/**
 email
 */
+ (BCSafeCenterCellModel *)email {
    BCSafeCenterCellModel *model = [BCSafeCenterCellModel new];
    model.cellClass = BCSafeCenterEmailCell.class;
    model.cellType = BCSafeCenterCellTypeEmail;
//    model.title = BCLocalizedKey(@"safe_center_email_title");
    return model;
}
/**
 payPassword
 */
+ (BCSafeCenterCellModel *)payPassword {
    BCSafeCenterCellModel *model = [BCSafeCenterCellModel new];
    model.cellClass = BCSafeCenterPayPassCell.class;
    model.cellType = BCSafeCenterCellTypePayPassword;
//    model.title = BCLocalizedKey(@"safe_center_pay_pass_title");
    return model;
}
/**
 fingerPrintLogin
 */
+ (BCSafeCenterCellModel *)fingerPrintLogin {
    BCSafeCenterCellModel *model = [BCSafeCenterCellModel new];
    model.cellClass = BCSafeCenterFingerPrintLoginCell.class;
    model.cellType = BCSafeCenterCellTypeFingerPrintLogin;
//    model.title = BCLocalizedKey(@"safe_center_fingerprint_title");
    return model;
}

@end
